Skip to content

Conversation

onobc
Copy link
Collaborator

@onobc onobc commented Jul 21, 2025

This commit fixes the case where SpEL expressions using the __listener. bean ref were failing due to the concrete impls of the AbstractPulsarAnnotationsBeanPostProcessor hiding/overriding their parent's listenerScope field by removing the listenerScope field from the following concrete impls:

  • PulsarListenerAnnotationBeanPostProcessor
  • ReactivePulsarListenerAnnotationBeanPostProcessor

See #1169

This commit fixes the case where SpEL expressions using the `__listener.`
bean ref were failing due to the concrete impls of the
`AbstractPulsarAnnotationsBeanPostProcessor` hiding/overriding their
parent's `listenerScope` field by removing the `listenerScope` field from
the following concrete impls:
- PulsarListenerAnnotationBeanPostProcessor
- ReactivePulsarListenerAnnotationBeanPostProcessor

Fixes spring-projects#1169

Signed-off-by: Chris Bono <[email protected]>
@onobc onobc added this to the 2.0.0-M1 milestone Jul 21, 2025
@onobc onobc added the type: bug A general bug label Jul 21, 2025
@onobc onobc merged commit cf7af65 into spring-projects:main Jul 21, 2025
7 checks passed
@onobc onobc deleted the GH-1169-remove-listenerScope-override-20x branch July 21, 2025 14:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug A general bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant